<template>
  <el-card>
    <!-- 标题 -->
    <template #header>
      <span class="title">
        <slot name="title"></slot>
      </span>
    </template>
    <!-- 内容 -->
    <template>
      <slot></slot>
    </template>
  </el-card>
</template>

<script>
export default {}
</script>

<style lang="less" scoped>
.title {
  font-weight: 700;
}
</style>
